onDestroy

Description

Fires when the component is destroyed (after all Panels, etc., have been destroyed).